cmake_minimum_required(VERSION 3.22)
project(life_game C)

set(CMAKE_C_STANDARD 99)

set(SDL2_DIR C:/mingw64)

include_directories(${SDL2_DIR}/include)

link_directories(${SDL2_DIR}/bin)

add_executable(life_game main.c gameFunction.c gameFunction.h)

target_link_libraries(life_game mingw32 SDL2 SDL2main)
